import { createRouter, createWebHistory } from 'vue-router';
import Sender from '../views/Sender.vue';
import Receiver from '../views/Receiver.vue';

const routes = [
  {
    path: '/sender',
    name: 'Sender',
    component: Sender
  },
  {
    path: '/receiver',
    name: 'Receiver',
    component: Receiver
  }
];

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes
});

export default router;